<? $service = $this->oneService ?>

<div class="oneService">
    <div class="topPath">

        <div class="serviceImage">
            <a href="<?= $service->getLink() ?>" 
               title="<?= $service->getTitle() ?> - <?= $service->getShortName() ?>" 
               class="oneServiceIco" 
               name="<?= $service->getShortName() ?>">
                <img class="oneServiceImage" 
                     src="<?= $this->imagesPath ?><?= $this->getConstant('SERVICES_ICONS_PATH') ?><?= $service->getLinkToIcon() ?>" 
                     alt="<?= $service->getTitle() ?>" />
            </a>

            
            <!--      @@ToDo:  href = ./help/stages -->
            <? if(isset($setupOptionsArray) && $setupOptionsArray['showProgress']):?>
            <a href="javascript:void(0);" 
               title="<?= $this->getArrConstant('STAGES_DESC', $service->getStageId()) ?> Узнать больше об этапах выполнения.">
                <img class="oneServiceImage" 
                     src="<?= $this->imagesPath ?>iconsDee/stepsOfRealise/<?= $service->getStageId() ?>.png" 
                     alt="Этап выполнения задачи: <?= $service->getStageId() ?>" 
                     />
            </a>
            <? endif;?>
        </div>

        <div class="additional"> 
            <div class="shortName">
                <a href="./<?= $service->getLink() ?>"
                   title="<?= $service->getTitle() ?> - <?= $service->getShortName() ?> (версия <?= $service->getVersion() ?>)">
                    
                    <?= $service->getShortName() ?> v.<?= $service->getVersion() ?>
                </a>
            </div>

            <div class="serviceInfo">
                
                <dd>
                    <dt>id Сервиса в базе: <b><?= $service->getServiceId() ?></b>, Текущая версия: <b><?= $service->getVersion() ?></b></dt>
                    <dt>Направление: <acronym><b title="<?= $this->getArrConstant('SERVICES_TYPES_TITLES', $service->getTypeId()) ?>"><?= $this->getArrConstant('SERVICES_TYPES', $service->getTypeId()) ?></b></acronym></dt>
                    <dt><?= $this->getArrConstant('STAGES_DESC', $service->getStageId()) ?></dt>
                </dd>



            </div>

        </div>

    </div>



    <div class="serviceDescription">



        <?= $service->getDescription() ?>



    </div>
</div>

